package com.lp.biz.message.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @program: backend
 * @description: 系统消息
 * @author Ke.Song
 * @since 2024-04-27 14:51:34
 */
@Data
@TableName("biz_message_system")
public class BizMessageSystem implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    private Integer memberId;

    /**
     * 类型
     */
    @TableField("`type`")
    private Integer type;

    /**
     * 通知内容
     */
    private String content;

    /**
     * 数据id
     */
    private Integer dataId;

    /**
     * 是否查看
     */
    private Integer isView;

    /**
     * 创建时间
     */
    private LocalDateTime createAt;

    /**
     * 备注信息
     */
    private String notes;


}
